package com.little.test.server;

import com.little.test.api.IHello;
import com.littlerpc.protocol.net.annotation.RpcService;
import org.springframework.stereotype.Service;

/**
 * Created by ChengPeng on 2017/6/16.
 */
@RpcService(IHello.class)
@Service
public class HelloImpl implements IHello {

    @Override
    public String sayHello(String name){
        System.out.println("hello " + name);
        return "Hello" + name;
    }

}
